package edu.buaa.act.travel.m;

public class Constants {

	public static final int MESSAGE_GET_DATA_SUCCESS = 102;
	public static final int MESSAGE_GET_DATA_FAIL = 103;

	// Catalog identity
	public static final String CATALOG_SCENERY = "1";
	public static final String CATALOG_TRAIN = "2";
	public static final String CATALOG_HOTEL = "3";
	public static final String CATALOG_RESTAURANT = "4";


	// URLs
	
	public static final String URL_LOGIN = "http://yecols.cn/60/json/login.html";
	public static final String URL_GET_TRIP = "http://192.168.3.212:8080/Mobile/trip/GetTrip.action?tripId=2";
	public static final String URL_RUN = "http://yecols.cn/60/json/run.html";
	public static final String URL_RUN_1 = "http://yecols.cn/60/json/run_1.html";
	public static final String URL_RUN_2 = "http://yecols.cn/60/json/run_2.html";
	
	public static final String URL_GET_SURROUNDS_HOTEL = "http://yecols.cn/60/json/getSurround.html";
	public static final String URL_GET_SURROUNDS_RESTAURANT = "http://yecols.cn/60/json/getSurround.html";
	public static final String URL_GET_SURROUNDS_SCENERY = "http://yecols.cn/60/json/getSurround.html";
	

	public static final String KEY_TRIPS = "trips";
	public static final String KEY_TRIP = "trip";
	public static final String KEY_SURROUNDS="surrounds";
	public static final String KEY_RESOURCES="resources";
	public static final String KEY_TRIP_ID = "tripId";
	public static final String KEY_TRIP_NAME = "tripName";

	// Keys for activities
	public static final String KEY_ACTIVITIES ="activities";
	public static final String KEY_SEQUENCE = "itemSequence";
	public static final String KEY_CATALOG = "itemCatalog";
	public static final String KEY_START_TIME = "startTime";
	public static final String KEY_END_TIME = "endTime";
	public static final String KEY_ID = "id";
	public static final String KEY_NAME = "name";
	public static final String KEY_LONGITUDE = "longitude";
	public static final String KEY_LATITUDE = "latitude";
	public static final String KEY_START_CITY = "startCity";
	public static final String KEY_END_CITY = "endCity";
	public static final String KEY_TRAIN_NUM = "trainNum";
	public static final String KEY_ADDRESS = "address";
	public static final String KEY_AVERAGE_COST = "averageCost";
	public static final String KEY_RANK = "rank";

	public static final String KEY_RUN_INFO = "runInfo";
	public static final String KEY_RUN_ITEM = "curItemSeq";
	public static final String KEY_STATE = "state";
	public static final String KEY_ATTACH_INFO = "attachInfo";
	public static final String KEY_QUERY_TEXT = "queryText";
	public static final String KEY_QUERY_OPTION = "queryOption";

	public static final String EXTRA_RESULT = "extra_result";
	public static final String EXTRA_TRIP = "extra_trip";
	public static final String EXTRA_TRIP_DETAILS = "extra_trip_details";
	public static final String EXTRA_RUN_MODEL = "extra_run_model";

	public static final String BROADCAST_SERVICE = "edu.buaa.act.travel.m.broadcast.service"; 
}
